package com.eshore.norm.pattern.template;

/**
 * 模板方法
 *
 * @author: v-chenjl62
 * @date: 2024/2/6 16:15
 */
public class Client {
    public static void main(String[] args) {
        AbstractClass abstractClass = new ConcreteClass_BaoCai();
        abstractClass.cookProcess();
        System.out.println("=====================");
        abstractClass=new ConcreteClass_CaiXin();
        abstractClass.cookProcess();
    }
}
